package com.home766.entity;

import net.biz.entity.OrderEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * 客户预约
 * @author diven.zeng
 *
 */
@Entity
@Table(name = "766_appointment")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "766_appointment_sqe")
public class Appointment extends OrderEntity {
	
	/*预约人姓名*/
	private String aName;
	/*预约人电话*/
	private String phone;
	/*户型*/
	private Integer houseStyle;
	private String houseStyleName;
	/*面积*/
	private Double measure;
	/*预约时间*/
	private Date appointment;
	/*状态0未处理，1已处理*/
	private Integer handle;
	/*跟单人*/
	private Long withSingle;
	private Long withSingleName;
	/*服务门店*/
	private Long shopsId;
	private String shopsName;
	
	@Column(name="aname")
	public String getaName() {
		return aName;
	}
	public void setaName(String aName) {
		this.aName = aName;
	}
	@Column(name="phone")
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	@Column(name="house_style")
	public Integer getHouseStyle() {
		return houseStyle;
	}
	public void setHouseStyle(Integer houseStyle) {
		this.houseStyle = houseStyle;
	}
	@Column(name="measure")
	public Double getMeasure() {
		return measure;
	}
	public void setMeasure(Double measure) {
		this.measure = measure;
	}
	@Column(name="appointment")
	public Date getAppointment() {
		return appointment;
	}
	public void setAppointment(Date appointment) {
		this.appointment = appointment;
	}
	@Column(name="handle")
	public Integer getHandle() {
		return handle;
	}
	public void setHandle(Integer handle) {
		this.handle = handle;
	}
	@Column(name="with_single")
	public Long getWithSingle() {
		return withSingle;
	}
	public void setWithSingle(Long withSingle) {
		this.withSingle = withSingle;
	}
	@Column(name="shops_id")
	public Long getShopsId() {
		return shopsId;
	}
	public void setShopsId(Long shopsId) {
		this.shopsId = shopsId;
	}
	@Transient
	public Long getWithSingleName() {
		return withSingleName;
	}
	public void setWithSingleName(Long withSingleName) {
		this.withSingleName = withSingleName;
	}
	@Transient
	public String getHouseStyleName() {
		return houseStyleName;
	}
	public void setHouseStyleName(String houseStyleName) {
		this.houseStyleName = houseStyleName;
	}
	@Transient
	public String getShopsName() {
		return shopsName;
	}
	public void setShopsName(String shopsName) {
		this.shopsName = shopsName;
	}
	
}
